package com.bigdata.mysql.dao;

import com.bigdata.model.SearchModel;
import com.bigdata.mysql.dao.base.CrudRepository;
import com.bigdata.mysql.entity.JkfwMenu;
import com.bigdata.mysql.entity.JkfwMenuExample;

import java.util.List;

public interface JkfwMenuMapper extends CrudRepository<JkfwMenu, JkfwMenuExample> {

    List<JkfwMenu> querySearch(SearchModel searchModel);

    /**
     * @Author lly
     * @param: searchModel
     * @Date 2019/10/28 0028
     * @return: java.util.List<com.bigdata.mysql.entity.JkfwMenu>
     * @Description 用户功能树
     */
    List<JkfwMenu> userTreeMenu(SearchModel searchModel);
}